package com.xiaoxi.open.common.enumeration;

/**
 * @Author xiaoxi
 * @ProjectName xiaoxi_open
 * @PackageName com.xiaoxi.open.common.enumeration
 * @ClassName RedisModeEnum
 * @Description TODO
 * @Date 2024/5/4 10:25
 * @Version 1.0
 */
public enum RedisModeEnum implements BaseStatusType {

    CLUSTER("cluster", "集群"),
    STANDALONE("standalone", "单机");

    private final String code;

    private final String msg;

    RedisModeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }
}
